package com.github.phoenics.bazooka.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.github.phoenics.bazooka.domain.po.Student;
import com.github.phoenics.bazooka.domain.po.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Phoenics Chow
 * on 2019年01月27日
 */
//@Repository
@Mapper
public interface TeacherDao extends BaseMapper<Teacher> {
    List<Student> getStudentList(Long id);
    List<Teacher> selectAllTeacher();
}
